home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / vbscript.sdf < prev    next >
Text File  |  2007-04-07  |  3KB  |  145 lines

  1. ;VB Script Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=Visual Basic Script
  6. Extensions=vbs
  7. Functions=(?i)^(sub|function|private.sub|private.function|public.sub|public.function)(.*)(\(.*$)
  8. FunctionSubs=$2
  9. Spelling=0 
  10. SpellingContexts=1;2;3
  11. CommentChar='
  12.  
  13. [Comment1]
  14. Type=StartStop
  15. Context=1
  16. Scope=0
  17. Priority=10
  18. WholeWordOnly=0
  19. First='
  20. Last=
  21. Background=Default
  22. Foreground=008000
  23. italic=0
  24.  
  25. [Comment2]
  26. Type=StartStop
  27. Context=2
  28. Scope=0
  29. Priority=10
  30. WholeWordOnly=1
  31. First=rem
  32. Last=
  33. Background=Default
  34. Foreground=008000
  35. italic=0
  36.  
  37. [Quote]
  38. Type=StartStop
  39. Context=3
  40. Scope=0
  41. Priority=10
  42. WholeWordOnly=0
  43. First="
  44. Last="
  45. Background=Default
  46. Foreground=408080
  47.  
  48. [Sub]
  49. Type=StartStop
  50. Context=5
  51. Scope=0
  52. Priority=4
  53. WholeWordOnly=1
  54. First=Sub
  55. Last=End Sub
  56. Background=Default
  57. Foreground=Default
  58. italic=0
  59. BeginParagraph=1
  60. Outline=1
  61.  
  62. [Function]
  63. Type=StartStop
  64. Context=5
  65. Scope=0
  66. Priority=4
  67. WholeWordOnly=1
  68. First=Function
  69. Last=End Function
  70. Background=Default
  71. Foreground=Default
  72. italic=0
  73. BeginParagraph=1
  74. Outline=1
  75.  
  76. [PublicFunction]
  77. Type=StartStop
  78. Context=5
  79. Scope=0
  80. Priority=4
  81. WholeWordOnly=1
  82. First=Public Function
  83. Last=End Function
  84. Background=Default
  85. Foreground=Default
  86. italic=0
  87. BeginParagraph=1
  88. Outline=1
  89.  
  90. [PrivateFunction]
  91. Type=StartStop
  92. Context=5
  93. Scope=0
  94. Priority=4
  95. WholeWordOnly=1
  96. First=Private Function
  97. Last=End Function
  98. Background=Default
  99. Foreground=Default
  100. italic=0
  101. BeginParagraph=1
  102. Outline=1
  103.  
  104. [PublicSub]
  105. Type=StartStop
  106. Context=5
  107. Scope=0
  108. Priority=4
  109. WholeWordOnly=1
  110. First=Public Sub
  111. Last=End Sub
  112. Background=Default
  113. Foreground=Default
  114. italic=0
  115. BeginParagraph=1
  116. Outline=1
  117.  
  118. [PrivateSub]
  119. Type=StartStop
  120. Context=5
  121. Scope=0
  122. Priority=4
  123. WholeWordOnly=1
  124. First=Private Sub
  125. Last=End Sub
  126. Background=Default
  127. Foreground=Default
  128. italic=0
  129. BeginParagraph=1
  130. Outline=1
  131.  
  132. [VB Keyword]
  133. Type=keyword
  134. Context=101
  135. Scope=0
  136. Priority=6
  137. WholeWordOnly=1
  138. Keyword1=And;As;Boolean;ByRef;Byte;ByVal;Call;Case;Class;Const;Currency;Debug;Dim;Do;Double;Each;Else;ElseIf;Empty;End;EndIf
  139. Keyword2=Enum;Eqv;Event;Exit;False;For;Function;Get;GoTo;If;Imp;Implements;In;Integer;Is;Let;Like;Long;Loop;LSet;Me;Mod;New;
  140. Keyword3=Next;Not;Nothing;Null;On;Option;Optional;Or;ParamArray;Preserve;Private;Public;Raise;Event;ReDim;Rem;Resume;RSet;
  141. Keyword4=Select;Set;Shared;Single;Static;Stop;Sub;Then;To;True;Type;TypeOf;Until;Variant;Wend;While;With;Xor;randomize
  142. Background=Default
  143. Foreground=0000FF
  144. Bold=0
  145.